import { createI18n } from 'vue-i18n'
import enUSJson from './en-US.json'
import zhCNJson from './zh-CN.json'

const messages = {
  'zh-CN': zhCNJson,
  'en-US': enUSJson,
}

const i18n = createI18n({
  locale: 'zh-CN',
  legacy: false,
  messages,
})

export default i18n
